taking someone into custody pending criminal investigation